package com.pingao.mp.modular.sys.service;

import com.pingao.mp.modular.sys.entity.Menu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;
import java.util.Set;

public interface MenuService extends IService<Menu> {

    List<Menu> getLoginMenu(Long userId);

    List<Map<String, Object>> getList(String search);

    List<Menu> getMenuTree(Long id);

    void deleteMenuById(Long s);

    Set<String> getMenusForJwt(Long userId);
}
